package com.rbac.api.service;


import com.rbac.api.controller.request.*;

import javax.servlet.http.HttpServletRequest;

public interface RolesCommonService {



    ///获取角色列表
    Object getRolesListService(PostRolesListRequest rolesListRequest) throws Exception;

    ///获取可操作的菜单list
    Object actionMenusListService() throws Exception;

    ///获取可操作的管理员list
    Object actionUsersListService() throws Exception;


    ///新增角色
    Object roleAddService(PostRoleAddRequest roleAddRequest, HttpServletRequest request) throws Exception;


    ///编辑角色（获取角色信息）
    Object getRoleInfoService(PostRoleGetInfoRequest roleGetInfoRequest) throws Exception;


    ///编辑角色（保存角色信息）
    Object saveRoleInfoService(PostRoleSaveRequest roleSaveRequest, HttpServletRequest request) throws Exception;

    ///修改角色状态
    Object roleSaveStatusService(PostRoleSaveStatusRequest roleSaveStatusRequest, HttpServletRequest request) throws Exception;




}
